﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace seiacpscs_a2.datastructures.linkedlist
{
    public class ListNode
    {

        private int item;

        public int Item
        {
            get { return item; }
            set { item = value; }
        }

        private ListNode nextNode;

        public ListNode NextNode
        {
            get { return nextNode; }
            set { nextNode = value; }
        }

        public ListNode(int item)
        {
            this.item = item;

        }

    }
}
